package org.lagou.dao;

import org.lagou.pojo.Student;

import java.util.List;

public interface IStudentDao {

    // 查询所有
    public List<Student> selectList() throws Exception;

    // 查询一个
    public Student selectOne(Student student) throws Exception;

    // 删除一个
    public int deleteOne(Student student) throws Exception;

    // 更新一个
    public int updateByName(Student student) throws Exception;

    // 插入一个
    public  int insertOne(Student student) throws Exception;

}
